package com.air.designmodel.nine;

/**
 * @author shent
 */
public class Light {
    private String room;

    public Light() {
    }

    public Light(String room) {
        this.room = room;
    }

    public void on() {
        System.out.println(room + " light on");
    }

    public void off() {
        System.out.println(room + " light off");
    }

}
